#!/bin/bash

# if you run this from within the main project directory, 
# it will create a build directory, and make the project

if [ -d "build" ]
then
    rm -r build
fi

mkdir build
cd build
cmake ..
make

if [ $? -eq 0 ]
then 
    ./Matrix-main
fi

